/* Layout */
import Layout from "@/layout";

export default [
  {
    path: "/corporate",
    component: Layout,
    hidden: true,
    children: [
      {
        path: "items",
        component: (resolve) => require(["@/views/corporate/items"], resolve),
        name: "corporate-items",
        meta: { title: "涉企事项", activeMenu: "/corporate/items" },
      },
      {
        path: "create",
        component: (resolve) => require(["@/views/corporate/create"], resolve),
        name: "corporate-create",
        hidden: true,
        meta: { title: "新建事项", activeMenu: "/corporate/create" },
      },
      {
        path: "detail",
        component: (resolve) => require(["@/views/corporate/detail"], resolve),
        name: "corporate-detail",
        hidden: true,
        meta: { title: "事项详情", activeMenu: "/corporate/detail" },
      },
    ],
  },
];
